package com.atguigu.gulimall.order.to;

import com.atguigu.gulimall.order.entity.OrderEntity;
import com.atguigu.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 创建订单VO
 * @author xiaoping
 * @create 2020/7/6 13:58
 * @since 1.0.0
 */
@Data
public class OrderCreteTo {

    /**
     * 订单信息
     */
    private OrderEntity order;
    /**
     * 订单项
     */
    private List<OrderItemEntity> orderItems;
    /**
     * 订单计算的应付价格
     */
    private BigDecimal payPrice;
    /**
     * 运费
     */
    private BigDecimal pare;


}
